package com.yjf.ljr.dataclass;

import java.io.Serializable;
import java.util.List;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.yjf.ljr.parser.DataClass;

public class InvestDetailProjectClass extends DataClass {

	@SerializedName("ProjectDetail")
	@Expose
	// 我喜欢、我评论
	public List<ProjectItemInfo> projectList;

	@Override
	public boolean copy(DataClass valueClass) {
		if (valueClass == null || !(valueClass instanceof InvestDetailProjectClass)) {
			return false;
		}
		this.code = ((InvestDetailProjectClass) valueClass).code;
		this.msg = ((InvestDetailProjectClass) valueClass).msg;
		this.projectList = ((InvestDetailProjectClass) valueClass).projectList;

		return true;
	}

	public static class ProjectItemInfo implements Serializable {
		private static final long serialVersionUID = 2L;

		@Expose
		public String demandId;// Id
		@Expose
		public String tradeId;// 查看投资明细的ID
		@Expose
		public String loanName;// 项目名
		@Expose
		public String interestRate;// 年利化率
		@Expose
		public String repayDivisionWay;// 还款方式
		@Expose
		public String investAvlDate;// 起投时间
		@Expose
		public String deadline;// 截止时间
		@Expose
		public String tradeEffectiveDate;// 借款成立日期
		@Expose
		public String leastInvestAmount;// 起投金额
		@Expose
		public String loanPurpose;// 借款用途
		@Expose
		public String guaranteeName;// 担保机构名称
		@Expose
		public String guaranteeAudit;// 审核状态
		@Expose
		public String guaranteeLicenceNo;// 承诺涵编号
		@Expose
		public String investProgress;// 投资进度
		@Expose
		public String timeLimit;// 借款期限
		@Expose
		public String status;// 状态（项目详情的内容）
		@Expose
		public String loanAmount;// 借款金额
		@Expose
		public String loanedAmount;// 已借金额
		@Expose
		public String avalableAmount;// 剩余金额
		@Expose
		public String investCount;// 当前已投资总人数
		@Expose
		public String isDirectional;// 是否定向投资
		@Expose
		public String leftTime;// 剩余时间

		@Expose
		public String loanNote;// 项目信息
		@Expose
		public String loanStatement;// 担保机构简介
		@Expose
		public String guaranteeStatement;// 风控措施
		@Expose
		public String info3;// 涉诉信息
		@Expose
		public String sponsorStatement;// 担保机构意见
		@Expose
		public String projectInfo;//
		@Expose
		public String loanerInfo;
		@Expose
		public String companyInfo;
		

	}
}